package com.shadow.common.bo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Set;

/**
 * 用户登录对象
 *
 * */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class LoginUser implements Serializable {

    /** 主键id */
    private String id;

    /** 用户姓名 */
    private String name;

    /** 账户 */
    private String account;

    /** 密码 */
    private String password;

    /** 状态 */
    private Integer status;

    private Set<String> roles;
    private Set<String> permissions;
}
